"""权限管理模块URL配置 - 使用Django内建权限系统"""
from django.urls import path, include
from rest_framework.routers import DefaultRouter
from . import views

router = DefaultRouter()
router.register(r'permissions', views.PermissionViewSet, basename='permission')
router.register(r'groups', views.GroupViewSet, basename='group')
router.register(r'user-group-assignments', views.UserGroupAssignmentViewSet, basename='user-group-assignment')

urlpatterns = [
    path('', include(router.urls)),
]
